package com.lemon.components.ant.swagger.makeui.dto;

import com.lemon.components.ant.swagger.net.enums.HttpMethod;

import lombok.Getter;

@Getter
public class SwaggerRequest {

	private String url;
	private HttpMethod method;
	
	public SwaggerRequest(String url, HttpMethod method) {
		this.url = url;
		this.method = method;
	}

	public SwaggerRequest(String url) {
		this.url = url;
		this.method = HttpMethod.post;
	}
	
}
